package com.ocm.gateway.bo;


import lombok.Data;

import java.util.List;

@Data
public class ApiBO {

	private static final long serialVersionUID = 1L;

	private Long id;
	private Long parentId;
	private String apiName;
	private String apiCode;
	/**
	 * 允许使用通配符
	 */
	private String apiPath;
	private String apiDescribe;
	/**
	 * GET/PUT/POST.....请使用大写标注(不允许多个值)
	 */
	private String apiMethod;
	private Integer apiType;
	private Integer sort;

	public ApiBO() {

	}


	private List<String> roles;

	public ApiBO(List<String> roles) {
		this.roles = roles;
	}
}
